package com.company.oa.hr.dto.training;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class PlanDTO {
    private Long id;
    
    @NotBlank(message = "计划名称不能为空")
    private String planName;
    
    @NotNull(message = "计划类型不能为空")
    private Integer planType;
    
    @NotNull(message = "开始日期不能为空")
    private Date startDate;
    
    @NotNull(message = "结束日期不能为空")
    private Date endDate;
    
    private String targetDepartmentIds;
    private String targetPositionIds;
    private String description;
} 